package com.sheep.Pattern.Factory.factorys.factory;

import com.sheep.Pattern.Factory.products.Message;
import com.sheep.Pattern.Factory.products.product.Phone;
import com.sheep.Pattern.Factory.factorys.MessageFactory;
/**
 * 工厂实现类 PhoneFactory
 * @author sheep
 */
public class PhoneFactory implements MessageFactory {
    @Override
    public Message createMessage() {
        return new Phone();
    }
}
